package cn.byapps.hw.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * HomeWorkDTO
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class HomeWorkDTO {

    private Integer id;
    private String name;
    private Long count;

    public HomeWorkDTO(Integer id, String name) {
        this.id = id;
        this.name = name;
    }
}